package com.fowo.api.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.sys.entity.SysDataActivity;
import com.fowo.api.sys.model.SysDataActivityItemVo;
import com.fowo.api.sys.model.SysDataActivitySearch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysDataActivityMapper extends BaseMapper<SysDataActivity> {
    List<SysDataActivityItemVo> search(@Param("search") SysDataActivitySearch search);
    Page<SysDataActivityItemVo> searchPage(@Param("page")Page page, @Param("search") SysDataActivitySearch search);
    void clean();
}
